Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: switch to named imports #205

Merged
merged 3 commits into from
Feb 17, 2023
Merged

feat: switch to named imports #205

merged 3 commits into from
Feb 17, 2023

Conversation

marcolink
Copy link
Collaborator

@marcolink marcolink commented Feb 1, 2023

Rework of type imports

  • Switch to named imports for all types of contentful to ensure we only import type information.
  • switch to type imports to aline with Typescript's latest defaults

Fixes #163

@marcolink marcolink marked this pull request as ready for review February 6, 2023 21:21
@marcolink marcolink merged commit 366de2e into master Feb 17, 2023
@marcolink marcolink deleted the feat/named-imports branch February 17, 2023 22:11
@github-actions
Copy link

🎉 This PR is included in version 2.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

import * as Contentful from "contentful"; produces error
1 participant